<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  mounted() {
    // 监听屏幕的变化 重新加载页面
    window.onresize = () => {
      location.reload();
    };
  }
};
</script>
<style lang="scss">
.chat-main {
  width: 100%;
  height: calc(25vh - 70px);
}
.el-table__empty-block {
  background: #121626;
}
.el-table__empty-text {
  color: #fff;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  background: #000;
  color: #fff;
  height: 100vh;
}
body {
  margin: 0;
  padding: 0;
}
ul {
  padding: 0;
  margin: 0;
}
#nav {
  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
.model-title {
  height: 44px;
  line-height: 44px;
  border-bottom: 1px solid #29304d;
  text-align: left;
  font-size: 18px;
  padding: 0 20px;
  .right-text {
    float: right;
    color: #888a92;
  }
}
.echart-title {
  line-height: 44px;
  text-align: left;
  border-bottom: 1px solid #29304d;
  color: #fff;
  font-size: 16px;
  font-weight: normal;
  padding: 0 0 0 20px;
  margin: 0;
  span {
    color: #666;
    font-size: 14px;
  }
}
</style>
